﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Planisoft.Entities;
using Planisoft.DAO;
using Microsoft.Practices.Unity;
namespace Planisoft.BL
{
    class UbigeoProvinciaBL: IUbigeoProvinciaBL
    {
        [Dependency]
        public IUbigeoProvinciaDAO UbigeoProvinciaDAO { get; set; }

        public List<UbigeoProvincia> GetAllFromUbigeoProvincia()
        {
            return UbigeoProvinciaDAO.GetAllFromProvincia();
        }


        public List<UbigeoProvincia> GetFromProvinciaByDepId(int depId)
        {
            return UbigeoProvinciaDAO.GetFromProvinciaByDepId(depId);   
        }
    }
}
